sf: dataflash: Minor cleanups
authorJagan Teki <[email protected]>
Sun, 30 Oct 2016 17:46:30 +0000 (23:16 +0530)
committerJagan Teki <[email protected]>
Sat, 19 Nov 2016 03:11:54 +0000 (08:41 +0530)
commit25488ec193fe111ce67f813d8223cd328ee152b2
tree6674aa98b66eaaa7594cc305c38529514b5b6704
parent11b93228a7c537b7a36f1d96b3061f5d74f01320
sf: dataflash: Minor cleanups

- fix single line comments
- remove unneeded spaces
- ascending order of include files
- rename SPI DATAFLASH to dataflash
- rename SPI DataFlash to dataflash
- return NULL replaced with error code

Cc: Bin Meng <[email protected]>
Cc: York Sun <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
drivers/mtd/spi/sf_dataflash.c